<!--所有-->
<div id="sy" class="zs-data-table" ng-show="tabs['cms_messageboard'].tabClass['sy']">
    <div class="container">
    	<table>
            <thead>
                <tr>
                    <th width="5%">
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_messageboard','allCheckbox');">
                    </th>
                    <th width="15%">分类</th>
                    <th width="15%">标题</th>
                    <th width="20%">留言内容</th>
                    <th width="15%">留言时间</th>
                    <th width="15%">回复</th>
                    <th width="15%">状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="r in cms_messageboard.datas">
	                <td><input type="checkbox"
		                    ng-click="selectRow('cms_messageboard',r);"
		                    ng-model="r.selected" />
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',r) && openWindow('edit');">
	                        <label ng-bind="r.typeName"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',r) && openWindow('edit');">
	                        <label ng-bind="r.title | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',r) && openWindow('edit');">
	                        <label ng-bind="r.content | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',r) && openWindow('edit');">
	                        <label ng-bind="r.messageTime | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',r) && openWindow('edit');">
	                        <label ng-show="r.replycontent==null || r.replycontent==''">否</label>
	                        <label ng-show="r.replycontent!=null && r.replycontent!=''">是</label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',r) && openWindow('edit');">
	                        <label ng-bind="r.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
        <ag-Page fn='cms_messageboard'></ag-Page>
    </div>
</div>

<!--未审核-->
<div id="sy" class="zs-data-table" ng-show="tabs['cms_messageboard'].tabClass['wsh']">
    <div class="container">
    	<table>
            <thead>
                <tr>
                    <th width="5%">
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_messageboard','allCheckbox');">
                    </th>
                    <th width="15%">分类</th>
                    <th width="15%">标题</th>
                    <th width="20%">留言内容</th>
                    <th width="15%">留言时间</th>
                    <th width="15%">回复</th>
                    <th width="15%">状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="wsh in cms_messageboard_wsh.datas">
	                <td><input type="checkbox"
		                    ng-click="selectRow('cms_messageboard',wsh);"
		                    ng-model="wsh.selected" />
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',wsh) && openWindow('edit');">
	                        <label ng-bind="wsh.typeName"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',wsh) && openWindow('edit');">
	                        <label ng-bind="wsh.title | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',wsh) && openWindow('edit');">
	                        <label ng-bind="wsh.content | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',wsh) && openWindow('edit');">
	                        <label ng-bind="wsh.messageTime | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',wsh) && openWindow('edit');">
	                        <label ng-show="wsh.replycontent==null || wsh.replycontent==''">否</label>
	                        <label ng-show="wsh.replycontent!=null && wsh.replycontent!=''">是</label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',wsh) && openWindow('edit');">
	                        <label ng-bind="wsh.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
        <ag-Page fn='cms_messageboard_wsh'></ag-Page>
    </div>
</div>	

<!--审核通过-->
<div id="sy" class="zs-data-table" ng-show="tabs['cms_messageboard'].tabClass['shtg']">
    <div class="container">
    	<table>
            <thead>
                <tr>
                    <th width="5%">
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_messageboard','allCheckbox');">
                    </th>
                    <th width="15%">分类</th>
                    <th width="15%">标题</th>
                    <th width="20%">留言内容</th>
                    <th width="15%">留言时间</th>
                    <th width="15%">回复</th>
                    <th width="15%">状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="shtg in cms_messageboard_shtg.datas">
	                <td><input type="checkbox"
		                    ng-click="selectRow('cms_messageboard',shtg);"
		                    ng-model="shtg.selected" />
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shtg) && openWindow('edit');">
	                        <label ng-bind="shtg.typeName"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shtg) && openWindow('edit');">
	                        <label ng-bind="shtg.title | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shtg) && openWindow('edit');">
	                        <label ng-bind="shtg.content | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shtg) && openWindow('edit');">
	                        <label ng-bind="shtg.messageTime | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shtg) && openWindow('edit');">
	                        <label ng-show="shtg.replycontent==null || shtg.replycontent==''">否</label>
	                        <label ng-show="shtg.replycontent!=null && shtg.replycontent!=''">是</label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shtg) && openWindow('edit');">
	                        <label ng-bind="shtg.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
        <ag-Page fn='cms_messageboard_shtg'></ag-Page>
    </div>
</div>	

<!--审核未通过-->
<div id="sy" class="zs-data-table" ng-show="tabs['cms_messageboard'].tabClass['shwtg']">
    <div class="container">
    	<table>
            <thead>
                <tr>
                    <th width="5%">
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_messageboard','allCheckbox');">
                    </th>
                    <th width="15%">分类</th>
                    <th width="15%">标题</th>
                    <th width="20%">留言内容</th>
                    <th width="15%">留言时间</th>
                    <th width="15%">回复</th>
                    <th width="15%">状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="shwtg in cms_messageboard_shwtg.datas">
	                <td><input type="checkbox"
		                    ng-click="selectRow('cms_messageboard',shwtg);"
		                    ng-model="shwtg.selected" />
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shwtg) && openWindow('edit');">
	                        <label ng-bind="shwtg.typeName"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shwtg) && openWindow('edit');">
	                        <label ng-bind="shwtg.title | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shwtg) && openWindow('edit');">
	                        <label ng-bind="shwtg.content | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shwtg) && openWindow('edit');">
	                        <label ng-bind="shwtg.messageTime | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shwtg) && openWindow('edit');">
	                        <label ng-show="shwtg.replycontent==null || shwtg.replycontent==''">否</label>
	                        <label ng-show="shwtg.replycontent!=null && shwtg.replycontent!=''">是</label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',shwtg) && openWindow('edit');">
	                        <label ng-bind="shwtg.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
        <ag-Page fn='cms_messageboard_shwtg'></ag-Page>
    </div>
</div>

<!--待回复-->
<div id="sy" class="zs-data-table" ng-show="tabs['cms_messageboard'].tabClass['dhf']">
    <div class="container">
    	<table>
            <thead>
                <tr>
                    <th width="5%">
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_messageboard','allCheckbox');">
                    </th>
                    <th width="15%">分类</th>
                    <th width="15%">标题</th>
                    <th width="20%">留言内容</th>
                    <th width="15%">留言时间</th>
                    <th width="15%">回复</th>
                    <th width="15%">状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="dhf in cms_messageboard_dhf.datas">
	                <td><input type="checkbox"
		                    ng-click="selectRow('cms_messageboard',dhf);"
		                    ng-model="dhf.selected" />
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',dhf) && openWindow('edit');">
	                        <label ng-bind="dhf.typeName"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',dhf) && openWindow('edit');">
	                        <label ng-bind="dhf.title | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',dhf) && openWindow('edit');">
	                        <label ng-bind="dhf.content | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',dhf) && openWindow('edit');">
	                        <label ng-bind="dhf.messageTime | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',dhf) && openWindow('edit');">
	                        <label ng-show="dhf.replycontent==null || dhf.replycontent==''">否</label>
	                        <label ng-show="dhf.replycontent!=null && dhf.replycontent!=''">是</label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',dhf) && openWindow('edit');">
	                        <label ng-bind="dhf.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
        <ag-Page fn='cms_messageboard_dhf'></ag-Page>
    </div>
</div>
	
<!--已回复-->
<div id="sy" class="zs-data-table" ng-show="tabs['cms_messageboard'].tabClass['yhf']">
    <div class="container">
    	<table>
            <thead>
                <tr>
                    <th width="5%">
                    	<input id="allCheckbox" type="checkbox"
                    		ng-click="selectAll('cms_messageboard','allCheckbox');">
                    </th>
                    <th width="15%">分类</th>
                    <th width="15%">标题</th>
                    <th width="20%">留言内容</th>
                    <th width="15%">留言时间</th>
                    <th width="15%">回复</th>
                    <th width="15%">状态</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="yhf in cms_messageboard_yhf.datas">
	                <td><input type="checkbox"
		                    ng-click="selectRow('cms_messageboard',yhf);"
		                    ng-model="yhf.selected" />
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',yhf) && openWindow('edit');">
	                        <label ng-bind="yhf.typeName"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',yhf) && openWindow('edit');">
	                        <label ng-bind="yhf.title | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',yhf) && openWindow('edit');">
	                        <label ng-bind="yhf.content | asLength:20"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',yhf) && openWindow('edit');">
	                        <label ng-bind="yhf.messageTime | asChineseDate"></label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',yhf) && openWindow('edit');">
	                        <label ng-show="yhf.replycontent==null || yhf.replycontent==''">否</label>
	                        <label ng-show="yhf.replycontent!=null && yhf.replycontent!=''">是</label>
	                    </a>
	                </td>
	                <td>
	                    <a ng-click="editRow('cms_messageboard',yhf) && openWindow('edit');">
	                        <label ng-bind="yhf.stateName"></label>
	                    </a>
	                </td>
	            </tr>
            </tbody>
        </table>
    </div>
    <div class="zs-pagination-box">
        <ag-Page fn='cms_messageboard_yhf'></ag-Page>
    </div>
</div>